package com.iflytek.sbd.demo.daili.jingtaidaili;

/**
 * @program: sbd
 * @description: 代理类
 * @author: 陈英俊
 * @create: 2022-01-04 14:26
 */
public class HelloProxy implements HelloInterface {

    private HelloInterface helloInterface = new Hello();

    @Override
    public void sayHello() {
        System.out.println("调用sayHello之前");
        helloInterface.sayHello();
        System.out.println("调用sayHello之后");
    }
}
